package org.nightrunner.d3.service;

import java.io.Serializable;
import java.util.List;

import org.nightrunner.d3.entity.Reference;
import org.nightrunner.d3.model.IPaginationInfo;
import org.nightrunner.d3.model.PaginationModel;

/**
 * Reference Service interface
 * 
 * @author NightRunner
 * @date 2012-7-26
 * @version 1.0
 */
public interface IReferenceService {

	PaginationModel<List<Reference>> getReferences();

	PaginationModel<List<Reference>> getReferences(IPaginationInfo pagination);

	void deleteReference(Reference reference);

	Reference getReference(String referenceId);

	Serializable addReference(Reference reference);

	List<Reference> getAllReference();

	void updateReference(Reference reference);
}